﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.echonest.api.v4;

namespace jENIKVMApi
{

    public static class ArtistExtensions
    {
        public static List<Biography> GetBiographies(this Artist current,int start, int count,List<string> licenses)
        {
            var javaList = licenses.ToJavaList();
            var result = current.getBiographies(start,count,javaList);
            return result.ToList<Biography>();
        }

        public static List<Image> GetImages(this Artist current, int start, int count,List<string> licenses)
        {
            var javaList = licenses.ToJavaList();
            var result = current.getImages(start, count, javaList);
            return result.ToList<Image>();
        }

        public static Dictionary<string, string> GetUrls(this Artist current)
        {
            var result = current.getUrls();
            return result.ToDictionary<string, string>();
        }

        public static Dictionary<string, long> GetDocCounts(this Artist current)
        {
            var result = current.getDocCounts();
            return result.ToDictionary<string, long>();
        }

 

    }
}
